home *** CD-ROM | disk | FTP | other *** search
/ Tripas 5 / TRIPAS 005.iso / chasm.EXE / chasm / CSM.BIN / PROCESS.09 < prev    next >
Encoding:
Text File  |  1997-10-17  |  11.3 KB  |  702 lines

  1. #stopani 58
  2.  
  3. #sky=sky.cel
  4.  
  5. #mess 1
  6. Delay 3
  7. TextA: -1 74 "You found a secret area!"
  8. #end
  9.  
  10. #mess 2
  11. Delay 3
  12. TextA: -1 74 "Look Back!"
  13. #end
  14.  
  15. #mess 3
  16. Delay 9
  17. TextA: -1 74 "You need a Silver key to pass this Gate."
  18. #end
  19.  
  20. #mess 4
  21. Delay 24
  22. TextA: -1 54 "Find the keys of the PASTOR's HOME."
  23. TextB: -1 64 "Then go to the PASTOR's HOME"
  24. TextC: -1 74 "and take the keys of the TEMPLE."
  25. TextD: -1 84 "Find the holy symbol in the TEMPLE"
  26. TextE: -1 94 "and exit the city through CITY GATES."
  27. #end
  28.  
  29. #mess 5
  30. Delay 6
  31. TextA: -1 74 "You must find the CITY GATE'S"
  32. TextB: -1 86 "key for the exit"
  33. #end
  34.  
  35. #mess 6
  36. Delay 6
  37. TextA: -1 74 "A fence was removed somewhere..."
  38. #end
  39.  
  40. #mess 7
  41. Delay 6
  42. TextA: -1 74 "You need the red key to open this door."
  43. #end
  44.  
  45. #mess 8
  46. Delay 6
  47. TextA: -1 70 "Go to the Pastor's house now,"
  48. TextB: -1 80 "and take the Temple key."
  49. #end
  50.  
  51. #mess 9
  52. Delay 6
  53. TextA: -1 74 "You got the Temple key."
  54. #end
  55.  
  56. #mess 10
  57. Delay 6
  58. TextA: -1 74 "Get out of the City of Dander, now!"
  59. #end
  60.  
  61. #proc1
  62. ;  BackWait 3
  63.   Speed 5
  64.   SfxID 82
  65.   SfxPosxy 43 23
  66. #action
  67.   waitout 11136 5888 512
  68.   rotate 42 23 11136 5888 -70
  69.   rotate 42 22 11136 5888 -70
  70.   rotate 42 24 11136 5888 -70
  71.   rotate 44 24 11136 5888 -70
  72. #end
  73.  
  74. #proc2
  75. ;  BackWait 3
  76.   Speed 4
  77.   SfxID 82
  78.   SfxPosxy 42 42
  79.   SfxPosxy 42 43
  80.   SfxPosxy 42 44
  81.   SfxPosxy 43 42
  82.   SfxPosxy 43 43
  83.   SfxPosxy 43 44
  84. #action
  85.   waitout 11024 11000 512
  86.   rotate 43 42 11024 10752 -75
  87.   rotate 44 42 11024 10752 -75
  88.   rotate 43 41 11024 10752 -75
  89.   rotate 43 43 11024 10752 -75
  90.  
  91.   rotate 44 44 11024 11520 75
  92.   rotate 43 44 11024 11520 75
  93.   rotate 42 43 11024 11520 75
  94.   rotate 43 45 11024 11520 75
  95. #end
  96.  
  97. #proc3
  98. ;  BackWait 5
  99.   Speed 5
  100.   SfxID 82
  101.   SfxPosxy 7 34
  102.   SfxPosxy 8 34
  103. #action
  104.   waitout 2080 8704 512
  105.  
  106.   rotate 8 35 2080 8704 70
  107.   rotate 8 34 2080 8704 70
  108.   rotate 7 34 2080 8704 70
  109.   rotate 6 34 2080 8704 70
  110. #end
  111.  
  112. #proc4
  113.   Speed 15
  114.   CheckGo
  115.   Mortal
  116. #action
  117.   move 58 53 0 -220
  118.   move 59 53 0 -220
  119.   move 60 53 0 -220
  120.   move 61 53 0 -220
  121.  
  122.   move 58 50 0 220
  123.   move 58 51 0 220
  124.   move 59 51 0 220
  125.   move 60 50 0 220
  126. #end
  127.  
  128. #proc5
  129.   Speed 3
  130. #action
  131. #end
  132.  
  133. #proc6
  134.   Speed 6
  135. ;  BackWait 3
  136.   SfxID 82
  137.   SfxPosxy 38 13
  138.   SfxPosxy 38 12
  139. #action
  140.   waitout 9728 3328 512
  141.  
  142.   rotate 38 13 9728 3328 70
  143.   rotate 38 12 9728 3328 70
  144.   rotate 39 12 9728 3328 70
  145.   rotate 37 12 9728 3328 70
  146. #end
  147.  
  148. #proc7
  149.   FirstMessage 1
  150.   BackWait 7
  151. #action
  152. ;  rotate 34 2 9008 1024 70
  153. #end
  154.  
  155. #proc8
  156. ;  BackWait 7
  157.   SfxID 82
  158.   SfxPosxy 16 33
  159.   SfxPosxy 15 33
  160. #action
  161.  
  162.   waitout 4128 8704 512
  163.  
  164.   rotate 15 34 4128 8704 -70
  165.   rotate 17 32 4128 8704 -70
  166.   rotate 17 33 4128 8704 -70
  167.   rotate 17 34 4128 8704 -70
  168. #end
  169.  
  170. #proc9
  171.    LightRemap
  172. ;   BackWait 7
  173.    SfxID 82
  174.    SfxPosxy 20 38
  175. #action
  176.   waitout 5232 9728 512
  177.  
  178.   rotate 18 38 5232 9728 70
  179.   rotate 19 38 5232 9728 70
  180.   rotate 19 39 5232 9728 70
  181.   rotate 20 37 5232 9728 70
  182. #end
  183.  
  184. #proc10
  185. ;   BackWait 7
  186.    SfxID 82
  187.    SfxPosxy 7 52
  188.    SfxPosxy 6 52
  189. #action
  190.    waitout 1792 13312 512
  191.  
  192.    rotate 5 51 1792 13312 70
  193.    rotate 6 52 1792 13312 70
  194.    rotate 7 51 1792 13312 70
  195.    rotate 8 53 1792 13312 70
  196. #end
  197.  
  198. #proc11
  199.    Speed 2
  200.    LightRemap
  201.    LinkSwitchAt 4 57
  202.    SfxID 81
  203.    SfxPosxy 4 57
  204. #action
  205.    waitout 1280 15232 512
  206.  
  207.    rotate 6 59 1280 15232 45
  208.    rotate 4 59 1280 15232 45
  209.    rotate 3 59 1280 15232 45
  210.    rotate 4 60 1280 15232 45
  211. #end
  212.  
  213. #proc12
  214.   FirstMessage 1
  215. #action
  216. #end
  217.  
  218. #proc13
  219. ;  BackWait 7
  220.   SfxID 82
  221.   SfxPosxy 13 52
  222.   SfxPosxy 12 52
  223. #action
  224.   waitout 3392 13568 512
  225.  
  226.   rotate 12 51 3392 13568 60
  227.   rotate 12 52 3392 13568 60
  228.   rotate 12 53 3392 13568 60
  229.   rotate 12 54 3392 13568 60
  230. #end
  231.  
  232. #proc14
  233. ;  BackWait 7
  234.   SfxID 82
  235.   SfxPosxy 16 8
  236.   SfxPosxy 15 8
  237. #action
  238.    waitout 4160 2304 512
  239.  
  240.    rotate 14 7 4160 2304 60
  241.    rotate 15 7 4160 2304 60
  242.    rotate 16 8 4160 2304 60
  243.    rotate 15 9 4160 2304 60
  244. #end
  245.  
  246. #proc15
  247. ;   BackWait 7
  248.    SfxID 82
  249.    SfxPosxy 19 7
  250.    SfxPosxy 19 6
  251. #action
  252.     waitout 4864 1792 512
  253.  
  254.     rotate 19 5 4864 1792 -60
  255.     rotate 20 5 4864 1792 -60
  256.     rotate 20 6 4864 1792 -60
  257.     rotate 21 6 4864 1792 -60
  258. #end
  259.  
  260. #proc16
  261. ;    BackWait 7
  262.     SfxID 82
  263.     SfxPosxy 19 16
  264.     SfxPosxy 18 16
  265. #action
  266.     waitout 4864 4352 512
  267.  
  268.     rotate 19 16 4864 4352 -60
  269.     rotate 20 16 4864 4352 -60
  270.     rotate 19 17 4864 4352 -60
  271.     rotate 20 17 4864 4352 -60
  272. #end
  273.  
  274. ;#proc17
  275. ;    BackWait 7
  276. ;    SfxID 82
  277. ;    SfxPosXY 13 17
  278. ;    SfxPosXY 14 17
  279. ;#action
  280. ;    rotate 12 17 3648 4352 -60
  281. ;    rotate 13 16 3648 4352 -60
  282. ;    rotate 14 16 3648 4352 -60
  283. ;    rotate 15 16 3648 4352 -60
  284. ;#end
  285.  
  286. #proc18
  287. ;    BackWait 7
  288.     SfxID 82
  289.     SfxPosXY 30 14
  290.     SfxPosXY 30 13
  291. #action
  292.    waitout 7680 3520 512
  293.  
  294.    rotate 29 13 7680 3520 -60
  295.    rotate 30 13 7680 3520 -60
  296.    rotate 29 14 7680 3520 -60
  297.    rotate 30 14 7680 3520 -60
  298. #end
  299. ; -+=> Begin Temple Niche<=+-
  300. #proc19
  301.    speed 16
  302.    checkgo
  303.    mortal
  304. #action
  305.    rotate 56 26 14400 7168 90
  306.    rotate 56 27 14400 7168 90
  307.    rotate 57 27 14400 7168 90
  308.    rotate 57 28 14400 7168 90
  309. #end
  310.  
  311. #proc20
  312.   speed 16
  313.   checkgo
  314.   Mortal
  315.   StartDelay 1
  316. #action
  317.    rotate 56 26 14400 7168 -90
  318.    rotate 56 27 14400 7168 -90
  319.    rotate 57 27 14400 7168 -90
  320.    rotate 57 28 14400 7168 -90
  321.    call 21
  322. #end
  323.  
  324. #proc21
  325.    speed 3
  326.    StartDelay 5
  327.    checkgo
  328.    Mortal
  329. #action
  330.    move 54 27 400 0
  331. #end
  332.  
  333. ; -+=> End Temple Niche<=+-
  334.  
  335.  
  336. #proc22
  337.   LightRemap
  338. ;  BackWait 7
  339.   SfxID 82
  340.   bluekey
  341.   Speed 6
  342.   checkgo
  343.   Mortal
  344.   LockMessage 3
  345.   SfxPosXY 54 43
  346.   SfxPosXY 55 43
  347.   SfxPosXY 55 44
  348.   SfxPosXY 54 44
  349. #action
  350.    waitout 14000 11200 512
  351.  
  352.    rotate 53 44 13824 11296 -65
  353.    rotate 54 43 13824 11296 -65
  354.    rotate 55 43 13824 11296 -65
  355.    rotate 54 42 13824 11296 -65
  356.  
  357.    rotate 55 42 14336 11296 65
  358.    rotate 56 43 14336 11296 65
  359.    rotate 56 44 14336 11296 65
  360.    rotate 55 44 14336 11296 65
  361. #end
  362.  
  363. #proc23
  364.   LightRemap
  365. ;  BackWait 7
  366. SfxID 82
  367. SfxPosXY 54 38
  368. #action
  369.   waitout 13952 9696 512
  370.  
  371.   rotate 53 37 13952 9600 85
  372.   rotate 54 37 13952 9600 85
  373.   rotate 54 38 13952 9600 85
  374.   rotate 55 38 13952 9600 85
  375. #end
  376.  
  377. #proc24
  378.   Linkswitchat 57 36
  379.   SfxID 81
  380.   SfxPosxy 57 36
  381. #action
  382.   move 47 26 0 -255
  383. #end
  384.  
  385. #proc25
  386. ;  FirstMessage 4
  387.   Speed 3
  388. #action
  389. #end
  390.  
  391. #proc26
  392.   LockMessage 7
  393. ;  BackWait 7
  394.   RedKey
  395.   SfxID 82
  396.   SfxPosXY 47 56
  397.   SfxPosXY 47 55
  398. #action
  399.   waitout 12032 14336 512
  400.  
  401.   rotate 46 54 12032 14336 60
  402.   rotate 46 55 12032 14336 60
  403.   rotate 46 56 12032 14336 60
  404.   rotate 47 56 12032 14336 60
  405. #end
  406.  
  407. #proc27
  408.   LockMessage 7
  409. ;  BackWait 7
  410.   redkey
  411.   SfxID 82
  412.   SfxPosXY 48 53
  413.   SfxPosXY 47 53
  414. #action
  415.   waitout 12320 13856 512
  416.  
  417.   rotate 47 52 12320 13856 80
  418.   rotate 47 53 12320 13856 80
  419.   rotate 47 54 12320 13856 80
  420.   rotate 47 55 12320 13856 80
  421. #end
  422.  
  423. #proc28
  424.   LockMessage 7
  425. ;  BackWait 7
  426.   SfxID 82
  427.   redkey
  428.   SfxPosXY 50 53
  429.   SfxPosXY 50 52
  430. #action
  431.   waitout 13056 13600 512
  432.  
  433.   rotate 49 53 13056 13600 -60
  434.   rotate 50 53 13056 13600 -60
  435.   rotate 51 53 13056 13600 -60
  436.   rotate 50 54 13056 13600 -60
  437. #end
  438.  
  439. #proc29
  440.   BackWait 7
  441. #action
  442. #end
  443.  
  444. #proc30
  445.   GreenKey
  446.   LockMessage 5
  447.   EndDelay 1
  448.   SfxId 84
  449. #action
  450. #end
  451.  
  452. #proc31
  453.   Speed 5
  454.   FirstMessage 6
  455.   LinkSwitchAt 15 43
  456.   SfxId81
  457.   SfxPosXY 15 43
  458. #action
  459.   up 24 52 80
  460. #end
  461.  
  462. #proc32
  463.   Speed 3
  464.   SfxID 80
  465.   SfxPosxy 43 6
  466. #action
  467.   xmove 43 7 128 255
  468.   xmove 44 5 128 255
  469.   xmove 44 6 128 255
  470.   xmove 45 6 128 255
  471. #end
  472.  
  473. #proc33
  474.   speed 3
  475.   LinkSwitchAt 30 7
  476.   SfxID 80
  477.   SfxPosxy 30 7
  478. #action
  479.   move 40 11 0 256
  480. #end
  481.  
  482. #proc34
  483.   speed 3
  484.   LinkSwitchAt 44 10
  485.   SfxID 80
  486.   SfxPosxy 44 10
  487. #action
  488.   move 39 7 0 -512
  489. #end
  490.  
  491. ;#proc35
  492. ;  Speed 4
  493. ;  LinkSwitchAt 46 7
  494. ;  SfxID 80
  495. ;  SfxPosxy 46 7
  496. ;#action
  497. ;  move 54 8 255 0
  498. ;  move 54 11 -255 0
  499. ;#end
  500.  
  501. #proc36
  502.   Speed 4
  503. ;  BackWait 6
  504.   SfxID 82
  505.   SfxPosxy 58 5
  506.   SfxPosxy 58 6
  507. #action
  508.     waitout 15072 1584 512
  509.  
  510.     rotate 58 5 15072 1584 -60
  511.     rotate 57 6 15072 1584 -60
  512.     rotate 57 7 15072 1584 -60
  513.     rotate 59 5 15072 1584 -60
  514. #end
  515.  
  516. #proc37
  517.  FirstMessage 8
  518. #action
  519. #end
  520.  
  521. #proc38
  522.  FirstMessage 9
  523. #action
  524. #end
  525.  
  526. #proc39
  527.  FirstMessage 10
  528. #action
  529. #end
  530.  
  531. ;void
  532. #links
  533.  
  534. ;keys
  535.    link 32 50 37
  536.    link 47 51 38
  537.    link 52 37 39
  538. ;end
  539.  
  540.    floor 58 5 36
  541.    floor 58 6 36
  542.  
  543. ;   link 46 7 35
  544.  
  545.    link 44 10 34
  546.  
  547.    link 30 7 33
  548.  
  549.    shoot 43 7 32
  550.  
  551.    link 15 43 31
  552.  
  553.    floor 53 59 30
  554.    floor 54 59 30
  555.    floor 55 59 30
  556.  
  557. ;   floor 34 3 29
  558. ;   floor 34 4 29
  559.  
  560.    floor 50 53 28
  561.    floor 50 52 28
  562.  
  563.    floor 48 53 27
  564.    floor 47 53 27
  565.  
  566.    floor 47 56 26
  567.    floor 47 55 26
  568.  
  569.    floor 3 12 25
  570.  
  571.    link 57 36 24
  572.  
  573.    floor 54 37 23
  574.    floor 55 37 23
  575.    floor 54 38 23
  576.    floor 55 38 23
  577.  
  578.    floor 54 43 22
  579.    floor 55 43 22
  580.    floor 55 44 22
  581.    floor 54 44 22
  582.  
  583.    floor 55 27 20
  584.    floor 55 27 21
  585.  
  586.    link 59 26 19
  587.  
  588.  
  589.    floor 30 14 18
  590.    floor 30 13 18
  591.  
  592. ;   floor 13 17 17
  593. ;   floor 14 17 17
  594.  
  595.    floor 19 16 16
  596.    floor 18 16 16
  597.  
  598.    floor 19 7 15
  599.    floor 19 6 15
  600.  
  601.    floor 16 8 14
  602.    floor 15 8 14
  603.  
  604.   floor 13 52 13
  605.   floor 12 52 13
  606.  
  607.   floor 3 59 12
  608.   floor 4 59 12
  609.  
  610.   link 4 57 11
  611.  
  612.   floor 7 52 10
  613.   floor 6 52 10
  614.  
  615.   floor 20 38 9
  616.  
  617.   floor 16 33 8
  618.   floor 15 33 8
  619.  
  620.   floor 38 13 6
  621.   floor 38 12 6
  622.  
  623.   floor 26 28 7
  624.   floor 27 28 7
  625.  
  626. ;  floor 59 51 4
  627. ;  floor 59 52 4
  628.  
  629.   floor 58 45 5
  630.   floor 58 58 5
  631.  
  632.   floor 43 23 1
  633.  
  634.   floor 7 34 3
  635.   floor 8 34 3
  636.  
  637.   floor 42 42 2
  638.   floor 42 43 2
  639.   floor 42 44 2
  640.   floor 43 42 2
  641.   floor 43 43 2
  642.   floor 43 44 2
  643.  
  644.  
  645. ; -------------- + -------------- + -----------------
  646. ; Setup sky file.
  647. ;   #sky=filename.cel
  648. ;
  649. ; Freeze 3d objects
  650. ; #stopani [#number]    ,freeze 3d object at start of level.
  651. ;
  652. ; Messages definition
  653. ; #mess [#number]
  654. ;  Delay [.sec]
  655. ;  Text[#word]: [ x,y] , x=-1 center for X
  656. ; #end
  657. ;
  658. ; #proc [#number]
  659. ; Setup process :
  660. ;  StartDelay    [.sec]
  661. ;  BackWait      [.sec] ,if not or 0 ,not revercible.
  662. ;  Speed         [.def]
  663. ;  LifeCheckon          ,LifeCheck:=True;
  664. ;  Mortal               ,Mortal:=True;
  665. ;  LightRemap           ,Wall bright:=Floor bright;
  666. ;  Lock                 ,locked at begin;
  667. ;  Loops         [.num] ,loop action;
  668. ;  LoopDelay     [.sec] ,delay after loop;
  669. ;  OnMessage     [.num] ,[.num]= message [.num]
  670. ;  FirstMessage  [.num] ,shows one time
  671. ;  LockMessage   [.num] ,if Locked
  672. ;  SfxId         [.num] ,[.num]= sfx [.num]
  673. ;  SfxPosxy      [ x,y] ,
  674. ;  LinkSwitchAt  [ x,y]
  675. ;
  676. ; #action
  677. ; Action commands :
  678. ;  lock          [procnumber]
  679. ;  unlock        [procnumber]
  680. ;  playani       [.num]                  ,plays specified .3o .ani
  681. ;  stopani       [.num]                  ,stops ...
  682. ;  move          [ x,y] [ dx,dy] [s:num]
  683. ;  xmove         ---
  684. ;  ymove         ---
  685. ;  rotate        [ x,y] [ cx,cy] [dfi] [s:num]
  686. ;  up            [ x,y] [ H]   [s:num]     ,if H>=80 then walktrough
  687. ;  light         [ x,y] [int sec] [R:256] [Bright] [s:num]
  688. ; #end
  689. ;
  690. ;  Links definition
  691. ; #links
  692. ;  link      [x,y] [.num] , walls and .3o
  693. ;  floor       -          , floors
  694. ;  shoot       -          , walls and .3o
  695. ;  return      -          , walls and .3o
  696. ;  unlock      -          , walls and .3o
  697. ;  destroy     -          , 3dobject     (auto-unlock locked processes)
  698. ;  onofflink   -          , walls and .3o
  699. #end
  700. .
  701.  
  702.